package com.example.dessert.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.dessert.entity.Favorite;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FavoriteMapper extends BaseMapper<Favorite> {

    List<Favorite> queryFavoriteList(@Param("userId") Long userId);

    List<Favorite> queryFavoritePage(int startPage, int pageSize, Long userId);
}
